import request from './handler/request';
//API列表
export const API = {
	ShopCarList: `/shoppingcart/listbyuid.do`, // 评论列表
	ShopCarIdsList:`/shoppingcart/selectids.do`,
	AddIn:`/shoppingcart/save.do`,
	ShopCarDelete:`/shoppingcart/del.do`
};

//接口列表
export function ShopCarList(params) {
	return request.post({
		url: API.ShopCarList,
		params,
	});
}

export function AddIn(params) {
	return request.post({
		url: API.AddIn,
		params,
	});
}
export function ShopCarIdsList(params) {
	return request.get({
		url: API.ShopCarIdsList,
		params,
	});
}
export function ShopCarDelete(params) {
	return request.get({
		url: API.ShopCarDelete,
		params,
	});
}